#include "type.h"

#ifndef LED_H_
#define LED_H_

typedef struct led_t
{
    uint8_t port;
    uint8_t pin;
}led_t;

void led_init(void);
uint32_t led_set(led_t *led);
uint32_t led_clear(led_t *led);
void led_switch(led_t *led);

extern led_t leds[4];

#endif /* LED_H_ */
